.page-container {
  padding: 20px;
  background-color: #f8f9fa;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.current-time {
  font-size: 14px;
  color: #666;
}

.sort-controls {
  display: flex;
  gap: 10px;
}

.sort-btn {
  background-color: #409eff;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.sort-btn:hover {
  background-color: #337ecc;
}

.date-filter {
  padding: 8px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
}

.record-list {
  background-color: white;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.record-card {
  display: flex;
  align-items: center;
  padding: 16px;
  margin-bottom: 15px;
  border-radius: 8px;
  background-color: #f5f7fa;
  transition: transform 0.2s;
}

.record-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.record-img {
  width: 100px;
  height: 80px;
  border-radius: 6px;
  margin-right: 16px;
}

.record-info {
  flex: 1;
}

.record-date,
.record-result {
  display: block;
  margin: 6px 0;
  font-size: 14px;
  color: #333;
}

/* 修正：将 .abnormal 从嵌套改为普通 CSS 选择器 */
.record-result.abnormal {
  color: #ff4d4f; /* 异常结果红色高亮 */
}

.detail-btn {
  background-color: #409eff;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 8px;
}

.detail-btn:hover {
  background-color: #337ecc;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.page-btn {
  background-color: #e0e0e0;
  color: #666;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  margin: 0 5px;
  transition: background-color 0.3s;
}

.page-btn:hover {
  background-color: #d0d0d0;
}